package com.example.xutilsdemo.db

import org.xutils.db.annotation.Column
import org.xutils.db.annotation.Table
import java.io.Serializable


/**
 *@author: njb
 *@date:  2023/5/24 23:02
 *@desc:
 */
@Table(name = "userinfo")
open class UserInfoDataBaseBean:Serializable{
    @Column(name = "id", isId = true, property = "UNIQUE")
    var id: String? = ""

    @Column(name = "name")
    var name: String? = ""

    @Column(name = "age")
    var age: String? = ""

    @Column(name = "account")
    var account:String ?= ""

    @Column(name = "size")
    var size:String ? = ""

    @Column(name = "avatar")
    var avatar:String ?= ""

    @Column(name = "devices")
    lateinit var devices:ListDevices<DevicesInfoBean>
}

